package com.ibeeking.found.cop.b.rest.wechat;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import me.chanjar.weixin.cp.bean.external.moment.MomentInfo;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * 企业发表内容到客户的朋友圈 获取企业全部的发表列表
 *
 * @author leiin  created on  2021-10-29
 */
@Data
public class WxCpFollowUserList implements Serializable {
    private static final long serialVersionUID = -4301684507150496556L;

    @SerializedName("follow_user")
    private List<String> followUser;

    /**
     * From json wx cp get moment list.
     *
     * @param json the json
     * @return the wx cp get moment list
     */
    public static WxCpFollowUserList fromJson(String json) {
        return WxCpGsonBuilder.create().fromJson(json, WxCpFollowUserList.class);
    }
}
